package bean.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import commons.jdbc.annotation.Column;
import commons.jdbc.annotation.PrimaryKey;
import commons.jdbc.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * bean.pojo
 * User: xlh
 * Date: 2024/12/21 14:50
 * motto:推到高塔
 * Description:
 * Version: V1.0
 */@Data
@Table(value = "complaint_record")
public class ComplaintRecord {
    @Column("complaint_record_id")  //这是数据的字段  字段名和属性名一致
    @PrimaryKey(isAutoIncrease = true)  //这字段是主键
    private Integer complaintRecordId;
    @Column(value = "tel_phone")   //这是数据的字段  字段名和属性名不一致
    private String telPhone;
    @Column("complaint_target")
    private String  complaintTarget;
    @Column(value = "complaint_reason")
    private String complaintReason;
    @Column(value = "complaint_time")
    @JSONField(format = "yyyy_MM-dd HH:mm:ss")
    private LocalDateTime complaintTime;

    @Column(value = "processing_result")
    private String processingResult;

    @Column(value = "processing_personnel_name")
    private String processingPersonnelName;
    @Column(value = "start_processing_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startProcessingTime;
    @Column(value = "note")
    private String note;

 }